// vite.config.js
import { fileURLToPath, URL } from "node:url";
import { defineConfig } from "file:///D:/vueworkspace/LIUJUE@myz/node_modules/vite/dist/node/index.js";
import vue from "file:///D:/vueworkspace/LIUJUE@myz/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import vueJsx from "file:///D:/vueworkspace/LIUJUE@myz/node_modules/@vitejs/plugin-vue-jsx/dist/index.mjs";
import AutoImport from "file:///D:/vueworkspace/LIUJUE@myz/node_modules/unplugin-auto-import/dist/vite.js";
import Components from "file:///D:/vueworkspace/LIUJUE@myz/node_modules/unplugin-vue-components/dist/vite.js";
import { ElementPlusResolver } from "file:///D:/vueworkspace/LIUJUE@myz/node_modules/unplugin-vue-components/dist/resolvers.js";
import ElementPlus from "file:///D:/vueworkspace/LIUJUE@myz/node_modules/unplugin-element-plus/dist/vite.mjs";
var __vite_injected_original_import_meta_url = "file:///D:/vueworkspace/LIUJUE@myz/vite.config.js";
var vite_config_default = defineConfig({
  plugins: [
    vue(),
    vueJsx(),
    AutoImport({
      imports: ["vue"],
      resolvers: [ElementPlusResolver()]
    }),
    Components({
      resolvers: [ElementPlusResolver(
        {
          // 自动使用预处理样式
          importStyle: "sass"
        }
      )],
      // 指定自定义组件位置(默认:src/components)
      dirs: ["src/components", "src/**/components"]
    })
  ],
  server: {
    //服务器主机名 配置后可以使用本地网络访问
    host: "0.0.0.0",
    //指定启动端口号
    port: 8090,
    //设为 true 时若端口已被占用则会直接退出，而不是尝试下一个可用端口
    strictPort: false,
    //服务器启动时自动在浏览器中打开应用程序,当此值为字符串时，会被用作 URL 的路径名
    open: false,
    proxy: {
      "/v1": {
        target: "http://120.46.168.132:8090",
        changeOrigin: true
      }
    }
  },
  resolve: {
    alias: {
      "@": fileURLToPath(new URL("./src", __vite_injected_original_import_meta_url)),
      "store": fileURLToPath(new URL("src/store", __vite_injected_original_import_meta_url)),
      "utils": fileURLToPath(new URL("src/utils", __vite_injected_original_import_meta_url)),
      "libs": fileURLToPath(new URL("src/libs", __vite_injected_original_import_meta_url))
    }
  },
  css: {
    preprocessorOptions: {
      scss: {
        javascriptEnabled: true,
        additionalData: `@use "@/assets/styles/main.scss" as *;`
      }
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFx2dWV3b3Jrc3BhY2VcXFxcTElVSlVFQG15elwiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9maWxlbmFtZSA9IFwiRDpcXFxcdnVld29ya3NwYWNlXFxcXExJVUpVRUBteXpcXFxcdml0ZS5jb25maWcuanNcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfaW1wb3J0X21ldGFfdXJsID0gXCJmaWxlOi8vL0Q6L3Z1ZXdvcmtzcGFjZS9MSVVKVUVAbXl6L3ZpdGUuY29uZmlnLmpzXCI7aW1wb3J0IHtmaWxlVVJMVG9QYXRoLCBVUkx9IGZyb20gJ25vZGU6dXJsJ1xuXG5pbXBvcnQge2RlZmluZUNvbmZpZ30gZnJvbSAndml0ZSdcbmltcG9ydCB2dWUgZnJvbSAnQHZpdGVqcy9wbHVnaW4tdnVlJ1xuaW1wb3J0IHZ1ZUpzeCBmcm9tICdAdml0ZWpzL3BsdWdpbi12dWUtanN4J1xuaW1wb3J0IEF1dG9JbXBvcnQgZnJvbSAndW5wbHVnaW4tYXV0by1pbXBvcnQvdml0ZScgIC8vIFx1NEUwRFx1ODk4MVx1NjI0Qlx1NTJBOFx1NUJGQ1x1NTE2NSB2dWVcdTc2ODRcdTc2RjhcdTUxNzNcdTUxRkRcdTY1NzBcbmltcG9ydCBDb21wb25lbnRzIGZyb20gJ3VucGx1Z2luLXZ1ZS1jb21wb25lbnRzL3ZpdGUnXG5pb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